﻿using Phorest.Voucher.Models;

namespace Phorest.Voucher
{
    /// <summary>
    /// Exposed functions for dealing with the Phorest.com API
    /// </summary>
    public interface IVoucherApi
    {
        // ---------------------------------------------------------------------------------------------

        /// <summary>
        /// Creates a voucher
        /// </summary>
        /// <param name="request">a populated voucher request object</param>
        /// <returns></returns>
        VoucherResponse CreateVoucher(VoucherRequest request);
    
        // ---------------------------------------------------------------------------------------------
    }
}
